← Back
Editing: index-legacy497.js
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,n,r){return Object.defineProperty(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r})}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function f(t,e,r,o){var i=e&&e.prototype instanceof d?e:d,a=Object.create(i.prototype);return s(a,"_invoke",function(t,e,r){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=j(u,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(1===o)throw o=4,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=3;var l=h(t,e,r);if("normal"===l.type){if(o=r.done?4:2,l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=4,r.method="throw",r.arg=l.arg)}}}(t,r,new S(o||[])),!0),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var p={};function d(){}function v(){}function y(){}var g={};s(g,u,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(O([])));w&&w!==o&&i.call(w,u)&&(g=w);var x=y.prototype=d.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,n){function r(o,a,u,c){var l=h(e[o],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&i.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(f).then((function(t){s.value=t,u(s)}),(function(t){return r("throw",t,u,c)}))}c(l.arg)}var o;s(this,"_invoke",(function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}),!0)}function j(t,e){var r=e.method,o=t.i[r];if(o===n)return e.delegate=null,"throw"===r&&t.i.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var i=h(o,t.i,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var a=i.arg;return a?a.done?(e[t.r]=a.value,e.next=t.n,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,p):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function k(t){this.tryEntries.push(t)}function E(t){var e=t[4]||{};e.type="normal",e.arg=n,t[4]=e}function S(t){this.tryEntries=[[-1]],t.forEach(k,this),this.reset(!0)}function O(e){if(null!=e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o<e.length;)if(i.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return a.next=a}}throw new TypeError(t(e)+" is not iterable")}return v.prototype=y,s(x,"constructor",y),s(y,"constructor",v),v.displayName=s(y,l,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},r.awrap=function(t){return{__await:t}},b(_.prototype),s(_.prototype,c,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new _(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(x),s(x,l,"Generator"),s(x,u,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),n=[];for(var r in e)n.unshift(r);return function t(){for(;n.length;)if((r=n.pop())in e)return t.value=r,t.done=!1,t;return t.done=!0,t}},r.values=O,S.prototype={constructor:S,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n){a.type="throw",a.arg=t,e.next=n}for(var o=e.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],l=i[2];if(-1===i[0])return r("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=n,r(c),!0;if(u<l)return r(l),!1}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r[0]>-1&&r[0]<=this.prev&&this.prev<r[2]){var o=r;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o[2],p):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[2]===t)return this.complete(n[4],n[3]),E(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]===t){var r=n[4];if("throw"===r.type){var o=r.arg;E(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={i:O(t),r:e,n:r},"next"===this.method&&(this.arg=n),p}},r}function n(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)}))}}System.register(["./utils-lib-legacy.js?v=VERSION_NUMBER","./index-legacy118.js?v=VERSION_NUMBER","./index-legacy105.js?v=VERSION_NUMBER","./index-legacy144.js?v=VERSION_NUMBER","./index-legacy124.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./index-legacy106.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER","./site-legacy.js?v=VERSION_NUMBER","./useStore-legacy5.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER","./ace-legacy.js?v=VERSION_NUMBER"],(function(t,n){"use strict";var o,i,a,u,c,l,s,f,h,p,d,v,y,g,m,w,x,b,_,j,k,E,S,O,F,P,V,G,T,C,N,q,A,I,J,M,U,B;return{setters:[function(t){o=t.u,i=t.o,a=t.K,u=t.J,c=t.n,l=t.k,s=t.b,f=t.q},function(t){h=t._},function(t){p=t._},function(t){d=t.B},function(t){v=t._},function(t){y=t.c,g=t.r,m=t.h,w=t.o,x=t.B,b=t.k,_=t.l,j=t.p,k=t.J,E=t.x,S=t.q,O=t.e,F=t.y,P=t.M,V=t.C,G=t.A,T=t.aj},function(t){C=t._},function(t){N=t.d,q=t.u},function(t){A=t.checkMonitorDir,I=t.setMonitorDir,J=t.webshellFileSingle,M=t.setHandleFile},function(t){U=t.S,B=t.u},null,null,null],execute:function(){var D={class:"flex items-center"},H={class:"p-20px"};t("default",y({__name:"index",setup:function(t){var y=U(),K=y.getFileEvent,R=y.saveFileEvent,Y=s(),z=o().payment,L=B().siteInfo,Q=g([]),W=g(!1),X=g(""),Z=g(!1),$=g({}),tt=g(!1),et=m({title:"动态查杀-功能介绍",ps:"当查杀站点目录中的文件发生修改就会自动的进行木马查杀并进行隔离",source:185,desc:["网页内容修改检测","木马查杀隔离"],tabImgs:[{title:"概览",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/site/dynamic_kill.png"}]}),nt=function(){i({isAsync:!0,title:"白名单",area:[70,55],component:function(){return a((function(){return n.import("./index-legacy464.js?v=VERSION_NUMBER")}),void 0,n.meta.url)},showFooter:!1})},rt=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,A({path:L.value.path});case 3:n=t.sent,tt.value=n.data.is_run,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return t.apply(this,arguments)}}(),ot=function(){var t=r(e().mark((function t(n){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u({loading:"正在设置中,请稍后...",request:I(!n,{path:L.value.path}),message:!0});case 2:rt();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),it=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,R({path:$.value.path,data:X.value,encoding:"utf-8"});case 2:n=t.sent,Y.request(n);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),at=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return W.value=!0,t.prev=1,t.next=4,J({path:(L.value.path+"/").replace("//","/")});case 4:n=t.sent,Q.value=Array.isArray(n.data)?n.data:[],t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1);case 11:W.value=!1;case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(){return t.apply(this,arguments)}}(),ut=function(){var t=r(e().mark((function t(n){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return $.value=n,t.next=3,K({path:n.path});case 3:if((r=t.sent).status){t.next=10;break}return Y.request(r),t.abrupt("return",!1);case 10:X.value=r.data.data||r.msg,Z.value=!0;case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ct=g([{label:"隔离时间",prop:"time"},N(),q([{width:80,onClick:ut,title:"样本文件"},{onClick:function(t){f({title:"删除文件",content:"是否要删除关联的源文件?",type:"check",icon:"warning",check:{content:"源文件",onConfirm:function(e){u({loading:"正在删除文件中,请稍后...",request:M({data:JSON.stringify({path:t.path,md5:t.md5,type:e?"delete":""})}),message:!0,success:function(t){t.status&&at()}})}}})},title:"删除"}])]);return w((function(){"ltd"===z.value.authType&&(rt(),at())})),function(t,e){var n=G,r=C,o=T,i=v,a=c,u=d,s=l,f=p,y=h,g=x("bt-loading");return b(),_("div",null,["ltd"===j(z).authType?(b(),k(f,{key:0},{"header-left":E((function(){return[S("div",D,[O(n,{type:"default",onClick:nt},{default:E((function(){return e[3]||(e[3]=[F(" 白名单 ")])})),_:1}),O(r),e[4]||(e[4]=S("div",{class:"mr-8px"},"动态查杀站点",-1)),S("div",null,[O(o,{modelValue:j(tt),"onUpdate:modelValue":e[0]||(e[0]=function(t){return P(tt)?tt.value=t:null}),width:36,onChange:ot},null,8,["modelValue"])])])]})),"header-right":E((function(){return[O(i,{onRefresh:at})]})),content:E((function(){return[V(O(a,{column:j(ct),"max-height":400,data:j(Q)},null,8,["column","data"]),[[g,j(W)]])]})),"footer-left":E((function(){return e[5]||(e[5]=[S("ul",{class:"mt-8px leading-8 text-[1.2rem] list-disc ml-20px"},[S("li",null,"注意:隔离文件后的数字表示隔离文件总数。"),S("li",{class:"text-orange"},"动态查杀开启后,当查杀目录中的文件发生修改就会自动的进行木马查杀并进行隔离")],-1)])})),"footer-right":E((function(){return e[6]||(e[6]=[])})),popup:E((function(){return[O(s,{title:"在线编辑",showFooter:"",modelValue:j(Z),"onUpdate:modelValue":e[2]||(e[2]=function(t){return P(Z)?Z.value=t:null}),area:70,onConfirm:it},{default:E((function(){return[S("div",H,[O(u,{modelValue:j(X),"onUpdate:modelValue":e[1]||(e[1]=function(t){return P(X)?X.value=t:null}),class:"!h-[40rem]"},null,8,["modelValue"])])]})),_:1},8,["modelValue"])]})),_:1})):(b(),k(y,{key:1,data:j(et)},null,8,["data"]))])}}}))}}}))}();
Save File
Cancel